<!-- 控制管理后台中，增删改查页面的模板-->

<div class="container">
    <!-- 顶部 -->
    <div>
        <!--搜索栏-->
        <div *ngIf="canSearch">
            <form (submit)="search()">
                <ng-content select=".search"></ng-content>
                <div class="ui-g">
                    <div class="ui-g-6">
                        <button pButton type="button" label="新增" routerLink="/{{manageName}}/editor"></button>
                        <button pButton type="button" label="编辑" routerLink="/{{manageName}}/editor"></button>
                        <button pButton type="button" label="删除" (click)="delete()"></button>
                    </div>
                    <div class="ui-g-6" style="text-align:right">
                        <button pButton type="submit" label="查询"></button>
                    </div>
                </div>
            </form>
            <ng-content select=".list"></ng-content>
        </div>
    </div>
    <!-- 侧栏 -->
    <!-- 中间 -->
    <!-- 底部 -->
    <!-- 弹层 -->
    <router-outlet></router-outlet>
</div>